package com.sca;

/**
 * Hello world!
 *
 */
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Desc: Eureka服务启动类
 * @Author: hwx
 * @Date: 2020/5/26 14:32
 * @Version: v1.0
 **/
@SpringBootApplication
@EnableFeignClients	//激活eureakaserver
@EnableCircuitBreaker    //激活hystrix  // 开启 hystrix:enabled: true
@EnableHystrixDashboard
public class feignApplication {

	public static void main(String[] args) {
		SpringApplication.run(feignApplication.class,args);
	}
}